#include<iostream>
#include <sys/types.h>
#include <signal.h>

int main(int argc, char* argv[])
{
    if(argc != 3)
    {
        std::cout<<"Usage:"<<argv[0]<< " -signumber pid"<<std::endl;
        return 1;
    }

    int number = std::stoi(argv[1]+1);
    pid_t  pid = std::stoi(argv[2]);

    int n = kill(pid,number);

    if(n==0)
    {
        std::cout<< "success"<<std::endl;
    }
    return 0;

}